package com.utooo.pojo.domain.purchase.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.utooo.pojo.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("aigis_ddrkglfb_2025042310410324")
public class OrderInventoryDetailDO extends BaseDO {

    /**
     * 采购订单号
     */
    @TableField("selectField118")
    private String orderNo;

    /**
     * 收货单号
     */
    @TableField("selectField121")
    private String receiptNo;

    /**
     * 物料编码
     */
    @TableField("selectField151")
    private String materialCode;

    /**
     * 物料名称
     */
    @TableField("comInputField124")
    private String materialName;

    /**
     * 物料规格
     */
    @TableField("comInputField123")
    private String materialSpecification;

    /**
     * 品类编码
     */
    @TableField("selectField144")
    private String categoryCode;

    /**
     * 品类名称
     */
    @TableField("selectField159")
    private String categoryName;

    /**
     * 单位编码
     */
    @TableField("selectField145")
    private String unitCode;

    /**
     * 单位名称
     */
    @TableField("comInputField158")
    private String unitName;

    /**
     * 税率编码
     */
    @TableField("selectField147")
    private String taxRateCode;

    /**
     * 税率值
     */
    @TableField("comInputField154")
    private String taxRate;

    /**
     * 需求数量
     */
    @TableField("numInputField152")
    private Integer requiredQuantity;

    /**
     * 需求日期
     */
    @TableField("dateField149")
    private LocalDateTime requiredDate;

    /**
     * 收货数量
     */
    @TableField("numInputField153")
    private Integer receivedQuantity;

    /**
     * 质检处理措施
     */
    @TableField("selectField156")
    private String inspectionHandlingMeasure;

    /**
     * 质检合格数量
     */
    @TableField("numInputField150")
    private Integer inspectionQualifiedQuantity;

    /**
     * 可入库数量
     */
    @TableField("numInputField138")
    private Integer storableQuantity;

    /**
     * 入库数量
     */
    @TableField("numInputField139")
    private Integer inventoryQuantity;

    /**
     * 收货人
     */
    @TableField("userSelectField140")
    private String receiver;

    /**
     * 收货人电话
     */
    @TableField("comInputField141")
    private String receiverPhone;

    /**
     * 备注
     */
    @TableField("comInputField142")
    private String remark;
}